//
//  QZDatePickerViewController.h
//  WeiWeiHaircut
//
//  Created by 上官惠阳 on 15/12/8.
//  Copyright © 2015年 超群. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef enum : NSUInteger {
    DayPicker = 0,
    HourPicker = 1,
    MinutePicker = 2,
} HYDatePickerType;

typedef enum : NSUInteger {
    QuitWithResult, //When confirm button is pressed
    QuitWithBackButton, //When back button is pressed
    QuitWithCancel, //when View outside date picker is pressed
} HYDatePickerQuitMethod;

typedef enum : NSUInteger {
    StepOneMinute = 1,
    StepTwoMinutes = 2,
    StepFiveMinutes = 5,
    StepTenMinutes = 10,
    StepFifteenMinutes = 15,
    StepHalfAnHour = 30,
} HYDatePickerMinutesStep;
static NSInteger kRowsMultiplier = 200;
@interface QZDatePickerViewController : UIViewController
@property (strong, nonatomic)UIPickerView *datePicker;
@property (nonatomic, strong) NSDate *date;
@property (nonatomic, assign) HYDatePickerMinutesStep minuteStep;
@property (nonatomic, strong) UIColor *mainColor;
@property (nonatomic, strong) NSDateFormatter *dateFormatter;

@property (nonatomic,strong)UILabel *showLabel;
@end
